@REM @Author: CPS
@REM @Date:   2020-09-15 10:15:59
@REM @Last Modified by:   Administrator
@REM Modified time: 2020-09-15 11:04:02
@echo off

::==================获取当前日期做文件名
@for /f "delims=/ tokens=1-3" %%a in ("%date:~0,10%") do (call set "newDate=%%a%%b%%c")
@for /f "tokens=* delims= " %%a in ("%time:~0,5%") do (for /f "tokens=1,2 delims=:" %%i in ("%%a") do (call set "newTime=%%i%%j"))
@set "resName=fast_%newDate%_%newTime%"

git add .
git commit -m "%resName%"
git push origin master